<?php

namespace Database\Seeders;

// use Illuminate\Database\Console\Seeds\WithoutModelEvents;

use App\Models\Swiper;
use App\Models\User;
use Illuminate\Database\Seeder;
use PHPUnit\Event\Telemetry\System;

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     */
    public function run(): void
    {
        User::factory(5)->create();
        // \App\Models\User::factory()->create([
        //     'name' => 'Test User',
        //     'email' => 'test@example.com',
        // ]);

        $this->call(RoleSeeder::class);
        $this->call(AdminSeeder::class);
        $this->call(DicSeeder::class);
        $this->call(DicdataSeeder::class);
        $this->call(MenuSeeder::class);

        $this->call(ShopCateSeeder::class);
        $this->call(ShopSeeder::class);
        $this->call(BlindCateSeeder::class);
        $this->call(BlindSeeder::class);
        $this->call(BlindShopSeeder::class);

        $this->call(OrderSeeder::class);
        $this->call(CommissionSeeder::class);
        $this->call(SwiperSeeder::class);
        $this->call(HotBlindSeeder::class);
        $this->call(ActivitySeeder::class);
        $this->call(BlindActivitySeeder::class);

        $this->call(SignConfigSeeder::class);
        $this->call(IntegralSeeder::class);
        $this->call(IntegralRecordSeeder::class);
        $this->call(SystemMsgSeeder::class);

        $this->call(FreightTemplateSeeder::class);
        $this->call(FreightTemplateKeySeeder::class);
        $this->call(AdminAddressSeeder::class);
        $this->call(UserAddressSeeder::class);
    }
}
